<%@page import="entity.Student"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
  //session.setMaxInactiveInterval(15);
  Student ulogin=(Student)session.getAttribute("USER_LOGIN");
  if(ulogin==null){
  	out.print("<script>alert('您还没有登录');location.replace('login.jsp')</script>");
  	return;
  }
  //out.print(session.getId());
 %>
   <h1 style="font-size:16px;text-docuration:none;">欢迎您，<%=ulogin.getSname()%>
   <a href="studentServlet">学员列表</a>
   <a href="subjectServlet">课程列表</a>
   <a href="grade.html">年级信息</a>
   <a href="exam.html">考试成绩</a>
   <a href="logout.jsp">退出</a></h1>
   